// 这个函数就是把它换成对象的形式引进去
export default function vnode(sel, data, children, text, elm) {
    const key = data === undefined ? undefined : data.key;
    return { sel, data, children, text, elm ,key};
}
// export function vnode(sel, data, children, text, elm) {
//     console.log(sel, data, children, text, elm);
//     // const key = data === undefined ? undefined : data.key;
//     return { sel, data, children, text, elm };
// }